package com.example.annotation;

import com.example.enums.BusinessTypeEnum;

import java.lang.annotation.*;

@Target({ElementType.METHOD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
 
    /**
     * 日志标题
     */
    String title() default "";
 
    /**
     * 操作类型
     */
    BusinessTypeEnum businessType() default BusinessTypeEnum.OTHER;
}